<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id="htmlId">
<head>
    <title>Coverage Report :: CollisionMap</title>
    <style type="text/css">
        @import "../../.css/coverage.css";
    </style>
</head>

<body>
<div class="header"></div>

<div class="content">
    <div class="breadCrumbs">
        [ <a href="../../index.html">all classes</a> ]
        [ <a href="../index.html">nl.tudelft.jpacman.level</a> ]
    </div>

    <h1>Coverage Summary for Class: CollisionMap (nl.tudelft.jpacman.level)</h1>

    <table class="coverageStats">
        <tr>
            <th class="name">Class</th>
        </tr>
        <tr>
            <td class="name">CollisionMap</td>
        </tr>

    </table>

    <br/>
    <br/>


    <div class="sourceCode"><i>1</i>&nbsp;package nl.tudelft.jpacman.level;
        <i>2</i>&nbsp;
        <i>3</i>&nbsp;import nl.tudelft.jpacman.board.Unit;
        <i>4</i>&nbsp;
        <i>5</i>&nbsp;/**
        <i>6</i>&nbsp; * A table containing all (relevant) collisions between different types of
        <i>7</i>&nbsp; * units.
        <i>8</i>&nbsp; *
        <i>9</i>&nbsp; * @author Jeroen Roosen
        <i>10</i>&nbsp; */
        <i>11</i>&nbsp;public interface CollisionMap {
        <i>12</i>&nbsp;
        <i>13</i>&nbsp; /**
        <i>14</i>&nbsp; * Collides the two units and handles the result of the collision, which may
        <i>15</i>&nbsp; * be nothing at all.
        <i>16</i>&nbsp; *
        <i>17</i>&nbsp; * @param &lt;C1&gt;
        <i>18</i>&nbsp; * The collider type.
        <i>19</i>&nbsp; * @param &lt;C2&gt;
        <i>20</i>&nbsp; * The collidee (unit that was moved into) type.
        <i>21</i>&nbsp; *
        <i>22</i>&nbsp; * @param collider
        <i>23</i>&nbsp; * The unit that causes the collision by occupying a square with
        <i>24</i>&nbsp; * another unit already on it.
        <i>25</i>&nbsp; * @param collidee
        <i>26</i>&nbsp; * The unit that is already on the square that is being invaded.
        <i>27</i>&nbsp; */
        <i>28</i>&nbsp; &lt;C1 extends Unit, C2 extends Unit&gt; void collide(C1 collider, C2 collidee);
        <i>29</i>&nbsp;
        <i>30</i>&nbsp;}
    </div>
</div>

<div class="footer">

    <div style="float:right;">generated on 2023-04-25 16:45</div>
</div>
</body>
</html>
